keyfunc_win_maximize_toggle() {
	WinGet, is_max, MinMax, A
	if (is_max == 1) {
		; MsgBox, Is Max
		WinRestore, A
	} else {
		; MsgBox, Is Not Max
		; Win+方向键，可能引起后面Restore错误
		WinGetPos, X, Y, Width, Height, A
		WinRestore, A
		WinMove, A,, X, Y, Width, Height

		WinMaximize, A
	}
}